public class q29 {
    public static void main(String[] args) {
        int a=1;
        double b=1;
        while (a<=20){
            b*=a;
            a++;
        }   System.out.println(b);
    }
}
